package bookManageSystem.po;

public class Doctor {
    private int doctorId;
    private String name;
    private String gender;
    private int age;
    private String position;
    private String description;
    private String schedule;
    private String department;


    public int getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(int doctorId) {
        this.doctorId = doctorId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSchedule() {
        return schedule;
    }

    public void setSchedule(String schedule) {
        this.schedule = schedule;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Doctor() {
    }


    public Doctor(int doctorId, String name, String gender, int age, String position, String description, String schedule, String department) {
        this.doctorId = doctorId;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.position = position;
        this.description = description;
        this.schedule = schedule;
        this.department = department;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "doctorId=" + doctorId +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", position='" + position + '\'' +
                ", description='" + description + '\'' +
                ", schedule='" + schedule + '\'' +
                ", department='" + department + '\'' +
                '}';
    }
}
